package com.eagle.epay.constant;

import lombok.Getter;

@Getter
public enum ResponseEnum {
	ERROR(-1, "服务端错误"),
	SUCCESS(0,"成功"),
	PASSWORD_INVALID(1,"密码错误"),
	USER_EXIST(2, "用户已存在"),
	NEED_LOGIN(10,"用户末登陆"),
	USER_OR_PASSWORD_ERROR(11,"用户名或密码错误")
	;

	Integer code;
	String desc;

	ResponseEnum(Integer code, String desc) {
		this.code = code;
		this.desc = desc;
	}

}
